package org.br.erp.project.projecttask.vo;

import java.util.List;
import org.br.erp.project.projecttask.entity.Projecttask;
import org.br.erp.project.projecttask.entity.Projecttaskitem;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 项目任务
 * @Author: jeecg-boot
 * @Date:   2024-05-09
 * @Version: V1.0
 */
@Data
@ApiModel(value="projecttaskPage对象", description="项目任务")
public class ProjecttaskPage {

	/**主键*/
	@ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
    private Date updateTime;

	private String taskcate;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**任务编号*/
	@Excel(name = "任务编号", width = 15)
	@ApiModelProperty(value = "任务编号")
    private String billcode;
	/**任务名称*/
	@Excel(name = "任务名称", width = 15)
	@ApiModelProperty(value = "任务名称")
    private String subject;
	/**所属项目*/
	@Excel(name = "所属项目", width = 15)
	@ApiModelProperty(value = "所属项目")
    private String projectid;
	/**上级任务*/
	@Excel(name = "上级任务", width = 15)
	@ApiModelProperty(value = "上级任务")
    private String parenttaskid;
	/**负责人*/
	@Excel(name = "负责人", width = 15)
	@ApiModelProperty(value = "负责人")
    private String assignedto;
	/**开始日期*/
	@Excel(name = "开始日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "开始日期")
    private Date startdate;
	/**结束日期*/
	@Excel(name = "结束日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "结束日期")
    private Date enddate;
	/**任务标签*/
	@Excel(name = "任务标签", width = 15)
	@ApiModelProperty(value = "任务标签")
    private String tags;

	private String progress;

	@ExcelCollection(name="任务分类描述")
	@ApiModelProperty(value = "任务分类描述")
	private List<Projecttaskitem> projecttaskitemList;

}
